<@override name="title">游戏参与记录</@override>

<@override name="viewbody">
<!-- Page title -->
<div class="row">
    <div class="col-md-12">
        <h3 class="page-title">
            系统统计
            <small>${date!}${game.name!}参与记录</small>
        </h3>
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <i class="fa fa-home"></i>
                <a href="${ctx}/admin/home">
                    首页
                </a>
                <i class="fa fa-angle-right"></i>
            </li>
            <li>
                <a href="${ctx}/admin/stat/game">
                    游戏参与记录
                </a>
                <i class="fa fa-angle-right"></i>
            </li>
            <li>
                <a href="#">
                ${date!}${game.name!}参与记录
                </a>
            </li>
        </ul>
    </div>
</div>
<!-- /page title -->

<div class="row">
    <div class="col-md-12">
        <div class="portlet box light-grey">
            <div class="portlet-title">
                <div class="caption">
                    <i class="fa fa-globe"></i>${date!}${game.name!}游戏参与记录一览表
                </div>
            </div>
            <div class="portlet-body">
                <div class="row">
                    <div class="col-md-12">
                        <form action="#" role="form" class="form-inline" id="search_form">
                            <div class="form-group">
                                <label for="query" class="control-label col-md-6">会员号/手机号：</label>
                                <div class="col-md-6">
                                    <input class="form-control"id="query" name="query" size="10" type="text" value=""/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="winning" class="control-label col-md-5">是否中奖：</label>
                                <div class="col-md-7">
                                    <select id="winning" name="winning" class="form-control input-sm input-small select2me">
                                        <option value="">请选择</option>
                                        <option value="true">中奖</option>
                                        <option value="false">未中奖</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <button class="btn btn-sm blue filter-submit margin-bottom" id="search_btn">
                                    <i class="fa fa-search"></i> 检索
                                </button>
                            </div>
                        </form>
                    </div>
                </div>

                <div class="table-toolbar">
                    <div class="btn-group">
                    </div>
                    <div class="btn-group pull-right">
                        <button class="btn dropdown-toggle" data-toggle="dropdown">其他 <i class="fa fa-angle-down"></i>
                        </button>
                        <ul class="dropdown-menu pull-right">
                            <li>
                                <a href="#">导出Excel
                                </a>
                            </li>
                        </ul>
                    </div>

                </div>
                <table class="table table-striped table-bordered table-hover" id="data-list">
                    <thead>
                    <tr>
                        <th width="30"><input type="checkbox" name="checkall"></th>
                        <th>序号</th>
                        <th>时间</th>
                        <#--<th>微信号</th>-->
                        <th>会员号</th>
                        <th>手机号</th>
                        <th>是否中奖</th>
                        <th>奖品</th>
                    </tr>
                    </thead>
                    <tbody>

                    </tbody>
                </table>
            </div>

        </div>
    </div>
</div>

<script id="action_template" type="text/x-handlebars-template">
    <div class="table-controls">
        <a href="${ctx}/admin/stat/game/detail?id={{game}}&date={{join_date}}" class="btn default blue-stripe" title="查看详细"><i
                class="fa fa-align-justify"></i></a>
    </div>
</script>

</@override>
<@override name="viewparams">
g.actiontpl = '#action_template';
g.params = {
    gameId : '${game.id!}',
    date : '${date!}',
};
</@override>
<@override name="viewmodule">game_detail</@override>
<@extends name="../../_basic/main.ftl"></@extends>

